DEFINES += CORE_LIBRARY

QT += \
    network \
    printsupport \
    qml \
    sql

# embedding build time information prevents repeatedly binary exact versions from same source code
isEmpty(QTC_SHOW_BUILD_DATE): QTC_SHOW_BUILD_DATE = $$(QTC_SHOW_BUILD_DATE)
!isEmpty(QTC_SHOW_BUILD_DATE): DEFINES += QTC_SHOW_BUILD_DATE

include(../../qtcreatorplugin.pri)

msvc: QMAKE_CXXFLAGS += -wd4251 -wd4290 -wd4250
SOURCES += corejsextensions.cpp \
    mainwindow.cpp \
    themechooser.cpp \
    id.cpp \
    icontext.cpp \
    versiondialog.cpp \
    actionmanager/actionmanager.cpp \
    actionmanager/command.cpp \
    actionmanager/commandbutton.cpp \
    actionmanager/actioncontainer.cpp \
    actionmanager/commandsfile.cpp \
    actionmanager/commandmappings.cpp \
    coreplugin.cpp \
    plugindialog.cpp \
    icore.cpp \
    dialogs/ioptionspage.cpp \
    settingsdatabase.cpp \
    helpitem.cpp \
    helpmanager.cpp \
    featureprovider.cpp \
    dialogs/restartdialog.cpp \
    windowsupport.cpp \
    messagebox.cpp \
    coreicons.cpp \

HEADERS += corejsextensions.h \
    mainwindow.h \
    themechooser.h \
    id.h \
    actionmanager/actioncontainer.h \
    actionmanager/actionmanager.h \
    actionmanager/command.h \
    actionmanager/commandbutton.h \
    actionmanager/actionmanager_p.h \
    actionmanager/command_p.h \
    actionmanager/actioncontainer_p.h \
    actionmanager/commandsfile.h \
    actionmanager/commandmappings.h \
    dialogs/ioptionspage.h \
    icontext.h \
    icore.h \
    coreconstants.h \
    versiondialog.h \
    core_global.h \
    coreplugin.h \
    plugindialog.h \
    settingsdatabase.h \
    helpitem.h \
    helpmanager.h \
    helpmanager_implementation.h \
    featureprovider.h \
    dialogs/restartdialog.h \
    windowsupport.h \
    messagebox.h \
    coreicons.h

#FORMS += systemsettings.ui

RESOURCES += core.qrc
